The Tab View Component > Using the Tab View component > Tab View properties in the Property Inspector

 

Tab View properties in the Property Inspector

You can set the following properties for the Tab View component using the Property Inspector:

Property name

Value

Description

Tabs

array

An array of strings specifying the labels for tabs which will be created within the component. A tab will be created for each array item.

Data

array

An array of strings that will be associated with the tab with the same index within the component.

Selected Index

number

Specifies the index of the tab that will be initially selected within the component. The index is 0 based.

Change Handler

function name

Specifies a function name which will be called when the selected tab within the component is changed.

Font

font name

Specifies the font that will be used to display the tab labels.

Label Color

color

Specifies the color of the font used to display the tab labels.

Face Color

color

Specifies the color of the tab when it is not selected.

Active Face Color

color

Specifies the color of the tab when it is selected.

Enabled

true or false

Sets whether the component is enabled. If this value is false, the component will not accept any user interaction, and its visual state will be changed to indicate its state.